package com.park.dao;

import com.park.bean.Tickets;
import com.park.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ITicketsDao {
    List<Tickets> getTickets(@Param("tickets")Tickets tickets, @Param("page") Page page);
    List<String> getDetail(int id);
    int getCount(@Param ("tickets")Tickets tickets);
    int delTickets(int id);
    int postTickets(Tickets tickets);
    int editTickets(Tickets tickets);
}
